package com.kdyzm.code.backup.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author kdyzm
 * @date 2023/9/20
 */
@Data
@Component
@PropertySource(value = {"file:application.properties"})
public class GitlabProperties {

    @Value("${gitlab.baseUrl}")
    private String baseUrl;

    @Value("${gitlab.token}")
    private String token;
    
    @Value("${gitlab.groups}")
    private String groups;
    
    @Value("${gitlab.targetDir}")
    private String targetDir;
}
